def checkDuplication(ls: list):
    for i in range(len(ls)):
        for j in range(i + 1, len(ls)):
            if ls[i] == ls[j]:
                return True
    return False

def checkDuplicationTest():
    ls1 = [1, 2, 3, 5, 8]
    ls2 = [1, 3, 6, 9, 3]
    print("ls1:", ls1)
    print("check ls1:", checkDuplication(ls1))
    print("ls1:", ls1)
    print("=" * 50)
    print("ls2:", ls2)
    print("check ls2:", checkDuplication(ls2))
    print("ls2:", ls2)

checkDuplicationTest()